<template>
  <div id="app">
    <Menu></Menu>
    <!-- <transition name="fade"> -->
    <router-view class="my-route-view" />
    <!-- </transition> -->
  </div>
</template>

<script>
import Menu from "./components/menu";
export default {
  name: "App",
  components: { Menu }
};
</script>

<style>
#app {
  font-family: "Avenir", Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
  /* margin-top: 60px; */
}
.my-route-view {
  transition: 0.5s ease;
}
.fade-enter-active,
.fade-leave-active {
  /* transition: all 0.3s linear; */
  opacity: 0;
}
/* .fade-enter,
.fade-leave {
  transform: translateX(-100%);
} */
.fade-enter,
.fade-leave-to {
  opacity: 0;
}
</style>
